SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE VIEW [dbo].[TTAYUD_FORM]
AS
Select  t1.CO_TIPO, t1.DE_OBJE_TIPO 
FROM   ( SELECT 'A' CO_TIPO, 'APOYO' DE_OBJE_TIPO
         UNION ALL
         SELECT 'C', 'CABECERA'
         UNION ALL
         SELECT 'D', 'DETALLE'
         UNION ALL
         SELECT 'H', 'HISTORICO'
         UNION ALL
         SELECT 'M', 'MAESTRO'
         UNION ALL
         SELECT 'R', 'RELACION'
         UNION ALL
         SELECT 'V', 'VISTA'
         UNION ALL
         SELECT 'W', 'TEMPORAL'
         UNION ALL
         SELECT 'X', 'CABECERA DETALLE' ) t1
GO
GRANT REFERENCES ON  [dbo].[TTAYUD_FORM] TO [public]
GRANT SELECT ON  [dbo].[TTAYUD_FORM] TO [public]
GRANT INSERT ON  [dbo].[TTAYUD_FORM] TO [public]
GRANT DELETE ON  [dbo].[TTAYUD_FORM] TO [public]
GRANT UPDATE ON  [dbo].[TTAYUD_FORM] TO [public]
GO
